package com.ruoyi.business.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.utils.StringUtils;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 设备对象 cz_equipment
 * 
 * @author ruoyi
 * @date 2022-01-09
 */
@ApiModel(description= "设备对象")

public class CzEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备ID */
    @ApiModelProperty(value ="设备ID")
    private String equipmentId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    @ApiModelProperty(value ="设备名称")
    private String equipmentName;

    /** 设备类型 */
    @Excel(name = "设备类型")
    @ApiModelProperty(value ="设备类型")
    private String equipmentTypeCode;

    /** 设备类型 */
    @Excel(name = "设备编号")
    @ApiModelProperty(value ="设备编号")
    private String equipmentSerialNo;
    
    /** 设备图标 */
    @Excel(name = "设备图标")
    @ApiModelProperty(value ="设备图标")
    private String equipmentIcon;

    /** 设备纬度 */
    @Excel(name = "设备纬度")
    @ApiModelProperty(value ="设备纬度")
    private BigDecimal equipmentLat;

    /** 设备精度 */
    @Excel(name = "设备精度")
    @ApiModelProperty(value ="设备精度")
    private BigDecimal equipmentLon;
    
    /** 设备精度 */
    @Excel(name = "设备状态")
    @ApiModelProperty(value ="设备状态")
    private String  isOnline;

   
    /** 设备高度 */
    @Excel(name = "设备高度")
    @ApiModelProperty(value ="设备高度")
    private BigDecimal equipmentHeight;

    /** 设备能力 */
    @Excel(name = "设备能力")
    @ApiModelProperty(value ="设备能力")
    private String equipmentCapacity;
    
   
    
    @ApiModelProperty(value ="设备类型映射对象")
    private CzEquipmentType equipmentType;
    
    @ApiModelProperty(value ="设备视频通道集合")
    private List<CzEquipmentChannel> channelList;

    public void setEquipmentId(String equipmentId) 
    {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentId() 
    {
        return equipmentId;
    }
    public void setEquipmentName(String equipmentName) 
    {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentName() 
    {
        return equipmentName;
    }
    public void setEquipmentTypeCode(String equipmentTypeCode) 
    {
        this.equipmentTypeCode = equipmentTypeCode;
    }

    public String getEquipmentTypeCode() 
    {
        return equipmentTypeCode;
    }
    
    

	public String getIsOnline() {
		return isOnline;
	}

	public void setIsOnline(String isOnline) {
		this.isOnline = isOnline;
	}
	
	
	

	public List<CzEquipmentChannel> getChannelList() {
		return channelList;
	}

	public void setChannelList(List<CzEquipmentChannel> channelList) {
		this.channelList = channelList;
	}

	public String getEquipmentSerialNo() {
		return equipmentSerialNo;
	}

	public void setEquipmentSerialNo(String equipmentSerialNo) {
		this.equipmentSerialNo = equipmentSerialNo;
	}

	public CzEquipmentType getEquipmentType() {
		return equipmentType;
	}

	public void setEquipmentType(CzEquipmentType equipmentType) {
		this.equipmentType = equipmentType;
	}

	public void setEquipmentIcon(String equipmentIcon) 
    {
        this.equipmentIcon = equipmentIcon;
    }

    public String getEquipmentIcon() 
    {
        return equipmentIcon;
    }
    public void setEquipmentLat(BigDecimal equipmentLat) 
    {
        this.equipmentLat = equipmentLat;
    }

    public BigDecimal getEquipmentLat() 
    {
        return equipmentLat;
    }
    public void setEquipmentLon(BigDecimal equipmentLon) 
    {
        this.equipmentLon = equipmentLon;
    }

    public BigDecimal getEquipmentLon() 
    {
        return equipmentLon;
    }
    public void setEquipmentHeight(BigDecimal equipmentHeight) 
    {
        this.equipmentHeight = equipmentHeight;
    }

    public BigDecimal getEquipmentHeight() 
    {
        return equipmentHeight;
    }
    public void setEquipmentCapacity(String equipmentCapacity) 
    {
        this.equipmentCapacity = equipmentCapacity;
    }

    public String getEquipmentCapacity() 
    {
        return equipmentCapacity;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("equipmentId", getEquipmentId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentTypeCode", getEquipmentTypeCode())
            .append("equipmentIcon", getEquipmentIcon())
            .append("equipmentLat", getEquipmentLat())
            .append("equipmentLon", getEquipmentLon())
            .append("equipmentHeight", getEquipmentHeight())
            .append("equipmentCapacity", getEquipmentCapacity())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
